﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D19 RID: 3353
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PlayerLoginFinishScRsp : IMessage<PlayerLoginFinishScRsp>, IMessage, IEquatable<PlayerLoginFinishScRsp>, IDeepCloneable<PlayerLoginFinishScRsp>, IBufferMessage
	{
		// Token: 0x17002A6E RID: 10862
		// (get) Token: 0x06009644 RID: 38468 RVA: 0x00190C14 File Offset: 0x0018EE14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PlayerLoginFinishScRsp> Parser
		{
			get
			{
				return PlayerLoginFinishScRsp._parser;
			}
		}

		// Token: 0x17002A6F RID: 10863
		// (get) Token: 0x06009645 RID: 38469 RVA: 0x00190C1B File Offset: 0x0018EE1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PlayerLoginFinishScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002A70 RID: 10864
		// (get) Token: 0x06009646 RID: 38470 RVA: 0x00190C2D File Offset: 0x0018EE2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PlayerLoginFinishScRsp.Descriptor;
			}
		}

		// Token: 0x06009647 RID: 38471 RVA: 0x00190C34 File Offset: 0x0018EE34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerLoginFinishScRsp()
		{
		}

		// Token: 0x06009648 RID: 38472 RVA: 0x00190C3C File Offset: 0x0018EE3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerLoginFinishScRsp(PlayerLoginFinishScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009649 RID: 38473 RVA: 0x00190C61 File Offset: 0x0018EE61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerLoginFinishScRsp Clone()
		{
			return new PlayerLoginFinishScRsp(this);
		}

		// Token: 0x17002A71 RID: 10865
		// (get) Token: 0x0600964A RID: 38474 RVA: 0x00190C69 File Offset: 0x0018EE69
		// (set) Token: 0x0600964B RID: 38475 RVA: 0x00190C71 File Offset: 0x0018EE71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600964C RID: 38476 RVA: 0x00190C7A File Offset: 0x0018EE7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PlayerLoginFinishScRsp);
		}

		// Token: 0x0600964D RID: 38477 RVA: 0x00190C88 File Offset: 0x0018EE88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PlayerLoginFinishScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600964E RID: 38478 RVA: 0x00190CB8 File Offset: 0x0018EEB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600964F RID: 38479 RVA: 0x00190CF7 File Offset: 0x0018EEF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009650 RID: 38480 RVA: 0x00190CFF File Offset: 0x0018EEFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009651 RID: 38481 RVA: 0x00190D08 File Offset: 0x0018EF08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009652 RID: 38482 RVA: 0x00190D3C File Offset: 0x0018EF3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009653 RID: 38483 RVA: 0x00190D7A File Offset: 0x0018EF7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PlayerLoginFinishScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009654 RID: 38484 RVA: 0x00190DAB File Offset: 0x0018EFAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009655 RID: 38485 RVA: 0x00190DB4 File Offset: 0x0018EFB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040039A4 RID: 14756
		private static readonly MessageParser<PlayerLoginFinishScRsp> _parser = new MessageParser<PlayerLoginFinishScRsp>(() => new PlayerLoginFinishScRsp());

		// Token: 0x040039A5 RID: 14757
		private UnknownFieldSet _unknownFields;

		// Token: 0x040039A6 RID: 14758
		public const int RetcodeFieldNumber = 5;

		// Token: 0x040039A7 RID: 14759
		private uint retcode_;
	}
}
